package cn.lili.modules.member.entity.enums;

/**
 * 收益发放状态
 */
public enum ComissStatusEnum {

    WAITTING(1,"待发放"),
    ALREADLY(2,"已发放"),
    ;


    public int type;
    public String text;

    ComissStatusEnum(int type, String text) {
        this.type = type;
        this.text = text;
    }


    public static String getByCode(Integer type) {
        ComissStatusEnum[] isShowEnums = values();
        ComissStatusEnum[] var3 = isShowEnums;
        int var4 = isShowEnums.length;

        for (int var5 = 0; var5 < var4; ++var5) {
            ComissStatusEnum anEnum = var3[var5];
            if (anEnum.type == type) {
                return anEnum.text;
            }
        }
        return null;
    }
}
